package com.xnew.bean.common;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class AcctOrganizationYear implements Serializable {
    private String id;

    private String orgId;

    private String yearNo;

    private String yearRank;

    private String orgName;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getYearNo() {
        return yearNo;
    }

    public void setYearNo(String yearNo) {
        this.yearNo = yearNo == null ? null : yearNo.trim();
    }

    public String getYearRank() {
        return yearRank;
    }

    public void setYearRank(String yearRank) {
        this.yearRank = yearRank == null ? null : yearRank.trim();
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orgId=").append(orgId);
        sb.append(", yearNo=").append(yearNo);
        sb.append(", yearRank=").append(yearRank);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    public String[] buildIncludeField() {
        return new String[]{"evaluationResult", "yearRank", "orgId"};
    }

    public String[] buildIncludeType() {
        return new String[]{"YES_OR_NO", "ORG_YEAR_LEVEL", "ORG_NAME"};
    }
}